package com.kgc.publicprovider.service;


import com.kgc.publiccommon.util.ResponseMsg;

import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import java.util.Map;

public interface UserService {
    ResponseMsg login(String name, String password,String checkCode);

    String getCaptcha();  // 返回 Base64 编码的验证码图片

    ResponseMsg logout(String sessionId);

    ResponseMsg selectRoleById(int id);

    ResponseMsg selectAllUser();

    ResponseMsg selectUserByMap(Map<String,Object> map);
}
